package com.loodiestest;


import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;

import android.widget.LinearLayout;
import android.widget.TextView;
import net.loodies.*;
public class TravelActivity extends Activity {

	protected static final String TAG = "NewsActivity";

	public void onCreate(Bundle savedInstanceState) {

		Log.v(TAG, "NewsActivity::onCreate");
		super.onCreate(savedInstanceState);

		LinearLayout layout = new LinearLayout (this);

		TextView text1;
		TextView text2;
		TextView text3;
		layout.setOrientation(LinearLayout.VERTICAL);

		text1 = new TextView(this);
		text1.setText("Test Travel Loodies");
		text1.setBackgroundColor(Color.rgb(0, 100, 150));
		text1.setTextSize((float) 20);

		text2 = new TextView(this);
		text2.setText("Turn your phone");
		text2.setBackgroundColor(Color.rgb(40, 100, 150));
		text2.setTextSize((float) 36);

		text3 = new TextView(this);
		text3.setText("Ficus aurea is a tree in the family Moraceae\n");
		text3.setBackgroundColor(Color.rgb(100, 100, 150));
		text3.setTextSize((float) 26);
		layout.addView(text1);
		layout.addView(text2);



		setContentView(layout);

		LoodiesWrapper.RemoveLastAd();
		LoodiesWrapper.AddAd(this,"travelling-200x200-test");

	} 
}
